ListView for WPF | ComponentOne
C1.WPF.ListView Assembly / C1.WPF.ListView Namespace / ListViewItem Class / ListViewItem Constructor / ListViewItem Constructor(IDataCollection<Object>,Int32)
The collection containing the item.
Index of the data inside the collection.

In This Topic
    ListViewItem Constructor(IDataCollection<Object>,Int32)
    In This Topic
    Initialize a new instance of ListViewItem class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal collection As C1.DataCollection.IDataCollection(Of Object), _
       ByVal dataIndex As Integer _
    )
    public ListViewItem( 
       C1.DataCollection.IDataCollection<object> collection,
       int dataIndex
    )

    Parameters

    collection
    The collection containing the item.
    dataIndex
    Index of the data inside the collection.
    See Also